package org.moda.dsl.source.loader;

import org.moda.common.Either;
import org.moda.common.GException;

/**
 * HTTP加载器
 */
public class HttpLoader implements Loader {
    private final String url;

    public HttpLoader(String url) {
        this.url = url;
    }

    @Override
    public Either<Throwable, byte[]> load() {
        return Either.left(new GException("tt"));
    }
}